﻿body
{
    background-color: #DDD;
    font-family: Verdana;
    font-size: .8em;
}

a 
{
    color: #000;
}

#main
{
    width: 95%;
    margin: 30px auto;
    border: solid 1px #000;
    background-color: #E3F7FF;
}

#top
{
    text-align: center;
    padding: 0 1em 1em 1em;
    border-bottom: solid 1px #000;
    background-color: #518EA6;
    color: #ffffff;
}

#footer
{
    clear: both;
    margin: 0;
    text-align: center;
    color: #ffffff;
    border-top: solid 1px #000;
    background-color: #518EA6;
    height: 40px;
}

#top #top_info
{
    text-align: right;
    padding: .5em;
    border-bottom: solid 1px #000;
}

#top a, #footer a
{
    color: #fff;
}

#menu
{
    float: left;
    width: 20%;
    margin: 0;
    padding: 1em;
    border-bottom: solid 1px #000;
    border-right: solid 1px #000;
    background-color: #FFF4E3;
}

#content
{
    float: left;
    width: 70%;
    margin-left: 10px;
    min-height: 300px;
    padding: 1em 0 1em 1em;
}

#content div#back-link
{
    margin-top: 10px;
}

/* HEADERS -------------------------------------- */

#top h1
{
    padding: 0.5em;
    color: #ffffff;
}

#menu h2
{
    margin: 0;
}

#content h2
{
    margin: 0 0 .7em 0;
}

#content h3
{
    margin-left: 20px;
}

#content h4
{
    margin-left: 20px;
}

/* GRID ----------------------------------------- */

#content table.grid
{
    width: 100%;
    background-color: #FFF;
    border-collapse: collapse;
    table-layout: fixed;
}

#content table.grid thead
{
    background-color: #518EA6;
    color: #FFF;
    border: solid 1px #000;
}

#content table.grid thead tr th
{
    padding: .5em;
}

#content table.grid tbody tr:hover
{
    background-color: #F6F7FF;
}

#content table.grid tr td
{
    padding: .5em;
    border: solid 1px #000;
}

#content table.grid tr td.center
{
    text-align: center;
}

#content table.grid tr.gridrow
{
    background-color: #FFF4E3;
}

#content div.json_search
{
    overflow: scroll;
    height: 200px;
    border: 1px dashed #000;
}

/* LOGIN -------------------------------------- */

#content_login
{
    text-align: center;
    padding: 1em;
    min-height: 20em;
}

#content_login table
{
    margin: auto;
}

#content_login table tr td
{
    padding: .3em;
    text-align: right;
}

/* FORM --------------------------------------- */

fieldset.form
{
    border: none;
    margin: 20px 0 0 0;
    padding: 0;
}

fieldset.form span.validation-error-main-message
{
    font-weight: bold;
    color: #FF0000;
    margin-bottom: 20px;
    display: block;
}

fieldset.form span.form-validation-error-message
{
    color: #FF0000;
    margin-bottom: 20px;
    display: block;
}

fieldset.form div label
{
    display: block;
    width: 150px;
    float: left;
    text-align: right;
    margin-right: 20px;
}

fieldset.form div ul
{
    margin-left: 20px;
}

fieldset.form div
{
    margin-bottom: 10px;
}

fieldset.form div .input-validation-error
{
    border: solid 1px #FF0000;
}

fieldset.form div span.field-validation-error
{
    display: block;
    color: #FF0000;
    margin-left: 170px;
}

fieldset.form div.form-buttons
{
    margin-left: 170px;
}

fieldset.form div.form-buttons input
{
    width: 100px;
    height: 25px;
}
